package com.hl233.framework.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 存储视频相关信息的表
 * </p>
 *
 * @author 张振强
 * @since 2025-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Videos对象", description="存储视频相关信息的表")
public class Videos implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "视频的唯一标识，自增主键")
    @TableId(value = "video_id", type = IdType.AUTO)
    private Integer videoId;

    @ApiModelProperty(value = "视频的标题，不超过255个字符")
    private String title;

    @ApiModelProperty(value = "视频的描述信息，可存储较长文本")
    private String description;

    @ApiModelProperty(value = "视频文件的访问链接，不超过255个字符")
    private String videoUrl;

    @ApiModelProperty(value = "视频封面图片的访问链接，不超过255个字符")
    private String coverImageUrl;

    @ApiModelProperty(value = "视频的评论数量，默认为0")
    private Integer commentCount;

    @ApiModelProperty(value = "视频的点赞数量，默认为0")
    private Integer likeCount;

    @ApiModelProperty(value = "视频的上传时间，默认为当前时间")
    private Date uploadTime;

    @ApiModelProperty(value = "上传视频的用户的标识")
    private Integer userId;


}
